package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 补料总表
 * </p>
 *
 * @author ms
 * @since 2023-09-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_SUPPLEMENT_HEAD")
@ApiModel(value="PcSupplementHead对象", description="补料总表")
public class PcSupplementHead implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "补料单号")
    private String slipNo;

    @ApiModelProperty(value = "补料时间")
    private LocalDate slipDate;

    @ApiModelProperty(value = "补料部门ID")
    private String dutyDeptNo;

    @ApiModelProperty(value = "补料部门")
    private String dutyDeptName;

    @ApiModelProperty(value = "备注说明")
    private String dutyMemo;

    @ApiModelProperty(value = "开单时间")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "开单用户")
    private String sysUser;

    @ApiModelProperty(value = "Y转审核 空退单")
    private String cfmFlag;

    @ApiModelProperty(value = "转审核人")
    private String cfmUser;

    @ApiModelProperty(value = "转审核时间")
    private LocalDate cfmDate;

    @ApiModelProperty(value = "Y 打印")
    private String prnFlag;

    @ApiModelProperty(value = "1普通开补 2鞋面全套 3成型全套 4原材料开补")
    private String blFlag;

    private String fullFlag;

    @ApiModelProperty(value = "Y已审核")
    private String financeFlag;

    @ApiModelProperty(value = "审核人")
    private String financeUser;

    @ApiModelProperty(value = "审核时间")
    private LocalDate financeDate;

    @ApiModelProperty(value = "人工费用")
    private BigDecimal laborFee;

    @ApiModelProperty(value = "财务审核标记")
    private String financeFlag2;

    @ApiModelProperty(value = "财务审核人")
    private String financeUser2;

    @ApiModelProperty(value = "财务审核日期")
    private LocalDate financeDate2;

    private String dutyDept2;

    private BigDecimal allPrice;

    @ApiModelProperty(value = "退单说明")
    private String returnRek;

    @ApiModelProperty(value = "财务备注")
    private String cwRek;

    @ApiModelProperty(value = "作废标志位")
    private String invFlag;


}
